package com.nwork.qingmanhua.view;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;

/**
 * Created by Administrator on 2015/3/23.
 */
public class MyVIew extends RecyclerView {

    public MyVIew(Context context) {
        super(context);
    }

    public MyVIew(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MyVIew(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    protected void onMeasure(int widthSpec, int heightSpec) {
        heightSpec = MeasureSpec.makeMeasureSpec(600, MeasureSpec.EXACTLY);
        super.onMeasure(widthSpec, heightSpec);
    }
}
